package com.mk.car.entity;

import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

@Table("car")
public class Car
{
	@Id
	private Integer id;
	
	@Column
	private String carno;
	@Column
	private Double weight;
	@Column
	private Double maxload;
	@Column
	private Double loading;
	@Column("servicedate")
	private Date ServiceDate;
	@Column
	private Integer status;
	@Column
	private String location;
	@Column("transcounts")
	private Integer transCounts;
	@Column
	private Double kilometers;
	@Column
	private String remark;
	
	
	@Override
	public String toString()
	{
		return "Car [id=" + id + ", carno=" + carno + ", weight=" + weight + ", maxload=" + maxload + ", loading="
				+ loading + ", ServiceDate=" + ServiceDate + ", status=" + status + ", location=" + location
				+ ", transCounts=" + transCounts + ", kilometers=" + kilometers + ", remark=" + remark + "]";
	}


	public Integer getId()
	{
		return id;
	}


	public void setId(Integer id)
	{
		this.id = id;
	}


	public String getCarno()
	{
		return carno;
	}


	public void setCarno(String carno)
	{
		this.carno = carno;
	}


	public Double getWeight()
	{
		return weight;
	}


	public void setWeight(Double weight)
	{
		this.weight = weight;
	}


	public Double getMaxload()
	{
		return maxload;
	}


	public void setMaxload(Double maxload)
	{
		this.maxload = maxload;
	}


	public Double getLoading()
	{
		return loading;
	}


	public void setLoading(Double loading)
	{
		this.loading = loading;
	}


	public Date getServiceDate()
	{
		return ServiceDate;
	}


	public void setServiceDate(Date serviceDate)
	{
		ServiceDate = serviceDate;
	}


	public Integer getStatus()
	{
		return status;
	}


	public void setStatus(Integer status)
	{
		this.status = status;
	}


	public String getLocation()
	{
		return location;
	}


	public void setLocation(String location)
	{
		this.location = location;
	}


	public Integer getTransCounts()
	{
		return transCounts;
	}


	public void setTransCounts(Integer transCounts)
	{
		this.transCounts = transCounts;
	}


	public Double getKilometers()
	{
		return kilometers;
	}


	public void setKilometers(Double kilometers)
	{
		this.kilometers = kilometers;
	}


	public String getRemark()
	{
		return remark;
	}


	public void setRemark(String remark)
	{
		this.remark = remark;
	}
	
	
	
}
